package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.domain.enumclass.MarketMerchantCooperationStatus;
import com.rockcent.mall.lib.domain.enumclass.MerchantCooperationType;
import com.rockcent.mall.lib.dto.MarketMerchantCooperationRecordDto;
import org.springframework.stereotype.Repository;

/**
 * Created by oyhk on 14-6-22.
 *
 * 商家申请
 */
@Repository
public interface MarketMerchantCooperationRecordRepositoryCustom {



    /**
     * 分销商 记录 分页
     * @param merchantId
     * @param pageResult
     * @return
     */
    PageResult<MarketMerchantCooperationRecordDto> findPage(Long merchantId, String merchantName, MarketMerchantCooperationStatus status, MerchantCooperationType type, PageResult pageResult);


}
